package Homework;

public class Master {
    private String name;

    public Master(){

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Master(String name) {
        this.name = name;
    }
    public void feed(){
        System.out.println("主人"this.name+"的狗");
        System.out.println();
        System.out.println();
        System.out.println();
    }
}
